/**
 * 
 */
package com.wolfpire.proms.dao;

import java.util.List;

import com.wolfpire.proms.model.ProjectIndexCount;
import com.wolfpire.system.common.Page;
import com.wolfpire.system.common.base.dao.IBaseHibernateDao;

/**
 * 项目指标持久层接口
 * @author hj
 *
 */
public interface ProjectIndexCountDao extends IBaseHibernateDao<ProjectIndexCount, Long> {
	
	/**
	 * 获取带分页列表
	 * @param page	分页对象
	 * @param filterProjectIndexCount	过滤条件
	 * @return
	 */
	public Page<ProjectIndexCount> findProjectIndexCounts(Page<ProjectIndexCount> page, ProjectIndexCount filterProjectIndexCount);
	
	/**
	 * 查询项目指标
	 * @param projectIndex	过滤条件
	 * @return
	 */
	public List<ProjectIndexCount> list(ProjectIndexCount projectIndex);
	
	/**
	 * 获取包括id在内的子集id
	 * @param id
	 * @return
	 */
	public List<Long> findAllIds(Long id);
	
	/**
	 * 
	 * 更新任务数统计值
	 */
	public void updateTaskCount();

}
